package com.TwinBlade.PicturePassword;

import android.accounts.Account;
import android.accounts.AccountManager;
import android.app.Activity;
import android.app.AlertDialog.Builder;
import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import com.paypal.android.MEP.a;
import com.paypal.android.MEP.e;
import com.paypal.android.MEP.k;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class PayPalKey extends Activity
{
  public EditText a;
  private final int b = 1;
  private final int c = 2;
  private Button d;
  private a e;
  private Dialog f;
  private Context g;

  private void a()
  {
    Account[] arrayOfAccount = AccountManager.get(this).getAccountsByType("com.google");
    ArrayList localArrayList = new ArrayList();
    int i = arrayOfAccount.length;
    for (int j = 0; ; j++)
    {
      if (j >= i)
      {
        CharSequence[] arrayOfCharSequence = (CharSequence[])localArrayList.toArray(new CharSequence[localArrayList.size()]);
        AlertDialog.Builder localBuilder = new AlertDialog.Builder(this);
        localBuilder.setTitle(getString(2131296419));
        localBuilder.setItems(arrayOfCharSequence, new az(this, localArrayList)).show();
        return;
      }
      localArrayList.add(arrayOfAccount[j].name);
    }
  }

  private void a(String paramString)
  {
    k localk = new k();
    localk.a(new BigDecimal("1.99"));
    localk.a("USD");
    localk.b("twinbladecorp@paypal.com");
    localk.c("TwinBlade");
    localk.a(0);
    startActivityForResult(e.a().a(localk, this, new aw(this, paramString)), 1);
  }

  private boolean b(String paramString)
  {
    boolean bool = false;
    Account[] arrayOfAccount = AccountManager.get(this).getAccountsByType("com.google");
    String str = new be().b(paramString) + "@gmail.com";
    int i = arrayOfAccount.length;
    for (int j = 0; ; j++)
    {
      if (j >= i)
        return bool;
      if (arrayOfAccount[j].name.equals(str))
        bool = true;
    }
  }

  public void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    this.g = this;
    new ba(this, null).execute(new Void[0]);
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.TwinBlade.PicturePassword.PayPalKey
 * JD-Core Version:    0.6.2
 */